package com.eastfair.home.api;

import com.eastfair.core.base.R;
import com.eastfair.home.dto.DrawingPageQuery;
import com.eastfair.home.dto.ExhibitionManageContactPageQuery;
import com.eastfair.home.dto.ExhibitionManageNoticePageQuery;
import com.eastfair.home.dto.ExhibitionManageTimingPageQuery;
import com.eastfair.home.vo.DrawingVO;
import com.eastfair.home.vo.ExhibitionManageContactVO;
import com.eastfair.home.vo.ExhibitionManageNoticeVO;
import com.eastfair.home.vo.ExhibitionManageTimingVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;


@FeignClient(value = "home")
public interface HomeExhibitionManageFeign {

    /**
     * 查询展会联系人
     * @param params params
     * @return R<Boolean>
     */
    @PostMapping("/exhibitionManageContact/queryExhibitionContact")
    R<List<ExhibitionManageContactVO>> queryExhibitionContact(@RequestBody ExhibitionManageContactPageQuery params);

    /**
     * 查询展会须知
     * @param params params
     * @return R<Boolean>
     */
    @PostMapping("/exhibitionManageNotice/queryExhibitionNotice")
    R<ExhibitionManageNoticeVO> queryExhibitionNotice(@RequestBody ExhibitionManageNoticePageQuery params);

    /**
     * 查询展会时间安排
     * @param params params
     * @return R<Boolean>
     */
    @PostMapping("/exhibitionManageTiming/queryExhibitionTiming")
    R<List<ExhibitionManageTimingVO>> queryExhibitionTiming(@RequestBody ExhibitionManageTimingPageQuery params);
}
